package com.geekhalo.admin.domain.user.enable;

import com.geekhalo.admin.domain.user.enable.EnableUserCommand; 
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class EnableUserContext{
    private EnableUserCommand command;

    private EnableUserContext(EnableUserCommand command){
         this.command = command;
    }

    public static EnableUserContext apply(EnableUserCommand command) {
        EnableUserContext context = new EnableUserContext(command);
        return context;
    }
}
